.prev:hover{ background-color:#381d16; text-decoration:none; color:#fff;border: 1px solid #381d16;}
.next:hover{ background-color:#381d16;text-decoration:none;  color:#fff;border: 1px solid #381d16;}
.num:hover{ background-color:#381d16; text-decoration:none; color:#fff;border: 1px solid #381d16;}
.current{ background-color:#381d16 !important; text-decoration:none; color:#fff !important;border: 1px solid #381d16 !important;}

@media screen and (min-width:320px){
	.num,.next,.current,.prev{display: inline-block;
padding: 2px 10px;
color: #000;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 15px;}
.img-thumbnail{ height:105px}
	
	}
@media screen and (min-width:768px){
	.num,.next,.current,.prev{display: inline-block;
padding: 5px 30px;
color: #000;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 15px;}
.img-thumbnail{ height:240px}
	}
	@media screen and (min-width:992px) {

.num,.next,.current,.prev{display: inline-block;
padding: 5px 20px;
margin:1px;
color: #000;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 3px;}
}